package com.ceair.flight.refund.location.model;

import com.ceair.flight.refund.location.dt.enums.MistakeAuditStatusEnum;
import com.ceair.muservice.common.dto.AbstractBaseDO;

import java.math.BigDecimal;
import java.util.Date;

public class PaymentMistakeAuditorDO extends AbstractBaseDO {

    private static final long serialVersionUID = 5587897171354163665L;
    
	private Long id;

    /*一审日期*/
    private Date firstAuditDate;

    /*一审备注*/
    private String firstAuditRemark;

    /*一审人姓名*/
    private String firstAuditName;

    /*一审人ID*/
    private Long firstAuditID;
    
    /*审核金额*/
    private BigDecimal auditAmount;

    //TODO
    /*审核状态*/
//    private String auditStatus = INIT.getCode();
    private String auditStatus;

//    private PaymentMistakeDO paymentMistake;
    
	public Long getId() {
		return id;
	}
	
	public void setId(final Long id) {
		this.id = id;
	}
	
	
	public BigDecimal getAuditAmount() {
		return auditAmount;
	}

	/**
	 * @param auditAmount the auditAmount to set
	 */
	public void setAuditAmount(BigDecimal auditAmount) {
		this.auditAmount = auditAmount;
	}

    public Date getFirstAuditDate() {
        return firstAuditDate;
    }

    public String getFirstAuditRemark() {
        return firstAuditRemark;
    }

    public String getFirstAuditName() {
        return firstAuditName;
    }

    public Long getFirstAuditID() {
        return firstAuditID;
    }

    public String getAuditStatus() {
        return auditStatus;
    }

	public MistakeAuditStatusEnum getAuditStatusByEnum() {
		return MistakeAuditStatusEnum.getByCode(auditStatus);
	}
    
//    public PaymentMistakeDO getPaymentMistake() {
//        return paymentMistake;
//    }

    public void setFirstAuditDate(Date firstAuditDate) {
        this.firstAuditDate = firstAuditDate;
    }

    public void setFirstAuditRemark(String firstAuditRemark) {
        this.firstAuditRemark = firstAuditRemark;
    }

    public void setFirstAuditName(String firstAuditName) {
        this.firstAuditName = firstAuditName;
    }

    public void setFirstAuditID(Long firstAuditID) {
        this.firstAuditID = firstAuditID;
    }

    public void setAuditStatus(String auditStatus) {
        this.auditStatus = auditStatus;
    }

    public void setAuditStatus(MistakeAuditStatusEnum auditStatus) {
        this.auditStatus = auditStatus.getCode();
    }
    
//    public void setPaymentMistake(PaymentMistakeDO paymentMistake) {
//        this.paymentMistake = paymentMistake;
//    }
}
